package com.mcarthur.countdown.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

public class ShaderReadyEvent extends GwtEvent<ShaderReadyEvent.Handler> {
    
    public static class Type extends GwtEvent.Type<Handler> {}

    
    /**
     *  The event handler.
     */
    public interface Handler extends EventHandler {
        void onShaderReady(ShaderReadyEvent event);
    }

    @Override
    public com.google.gwt.event.shared.GwtEvent.Type<Handler> getAssociatedType() {
        return null;
    }

    @Override
    protected void dispatch(Handler handler) {
        handler.onShaderReady(this);
    }
}
